#ifndef CONNECT_H
#define CONNECT_H

#include <QTcpSocket>
#include <QWidget>

namespace Ui
{
    class connect;
}

class Netconnect : public QWidget
{
    Q_OBJECT

public:
    explicit Netconnect(QWidget *parent = nullptr);
    ~Netconnect();


private slots:
    void on_quit_clicked();

    void on_send_clicked();

    void handleResponse();

private:
    Ui::connect *ui;
    QTcpSocket *tcpSocket;
};

#endif // CONNECT_H
